package 作业.大地主;

public class Card {
    private String color;
    private String point;
    private int size;

    public Card() {
    }

    public Card(String color, String point, int size) {
        this.color = color;
        this.point = point;
        this.size = size;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getPoint() {
        return point;
    }

    public void setPoint(String point) {
        this.point = point;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    @Override
    public String toString() {
        return color+point+"["+size+"]";
    }
}
